Part Number Hot Search : 
NRSZC AD1896 CR306 VQGT610A F2201P 1206G 1SV28207 EL4501
Product Description
Full Text Search
 

To Download BMA220 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  data sheet BMA220 digital, triaxial acceleration sensor BMA220: data sheet document revision 1.15 document release date 23 august 2011 document number bst-BMA220-ds003-08 technical reference code(s) 0 273 141 102 notes data in this document are subject to change without notice. product photos and pictures are for illustration purposes only and may differ from the real product?s appearance. bosch sensortec
data sheet BMA220 page 2 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. BMA220 t riaxial ? 2 g to ? 16 g acceleration sensor with on - chip motion - triggered interrupt controller key features ? three-axis accelerometer ? ultra-small package mold package (lga 12ld) footprint 2mm x 2mm, height 0.98mm ? digital interface spi (4-wire, 3-wire), i2c, interrupt pin i/o supply voltage range: 1.6v to 3.6v ? programmable functionality acceleration ranges 2g/4g/8g/16g bandwidth 1khz . . . 32hz self test ? on-chip interrupt controller motion-triggered interrupt-signal generation for - orientation recognition - any-motion detection - tap/double tap sensing - low-g/high-g detection stand-alone capability (no microcontroller needed) ? ultra-low power asic low current consumption, short wake-up time, advanced features for system power management ? rohs compliant, halogen-free typical applications ? display profile switching ? tap/double tap sensing ? menu scrolling ? gaming ? drop detection for warranty logging ? advanced system power management for mobile applications general description the BMA220 is a triaxial, low-g acceleration sens or with digital output for consumer market applications. it allows measurements of accelera tion in three perpendicular axes. an evaluation circuitry (asic) converts the output of a micromechanical acceleration-sensing structure (mems) that works according to the differential capacitance principle. package and interface have been defined to match a multitude of hardware requirements. since the sensor features an ultra-small footprint and a flat package it is ingeniously suited for mobile applications. the sensor offers a variable i/o supply voltage range from 1.6v to 3.6v and can be programmed to optimize functionality, performance and power consumption in customer specific applications. in addition it features an on-chip interrupt controller enabling motion-based applications without use of a microcontroller. the BMA220 senses tilt, motion and shock vi bration in cell phones, handhelds, computer peripherals, man-machine interfaces, virtual reality features and game controllers.
data sheet BMA220 page 3 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. index of contents 1. specific ation............................................................................................................... ....... 5 2. absolute maximum ratings .......................................................................................... 7 3. block diagram ............................................................................................................... ... 8 4. global memory map ........................................................................................................ 9 4.1 c ontrol registers ........................................................................................................... 9 4.1.1 3- wire spi mode selection ....................................................................................................... 9 4.1.2 l ow - power mode configuration ........................................................................................... 10 4.1.3 l ow - power mode dimensioning .............................................................................................. 11 4.1.4 c hannel activation / de - activation ....................................................................................... 11 4.1.5 s oft - reset ............................................................................................................................. 12 4.1.6 s uspend mode ........................................................................................................................ 12 4.2 s etting registers ........................................................................................................... 12 4.2.1 a cceleration range and sensitivity setting ......................................................................... 12 4.2.2 f ilter and bandwidth configuration .................................................................................... 13 4.3 d ata registers ................................................................................................................ 14 4.3.1 a cceleration data read - out ................................................................................................. 14 4.3.2 c hip / revision id .................................................................................................................... 14 4.4 i nterrupt control registers ........................................................................................ 15 5. interrupt co ntrollers............................................................................................... 16 5.1 l atched vs . non - latched modes .................................................................................... 16 5.2 s upported types of interrupts .................................................................................... 17 5.3 p ower - saving modes ...................................................................................................... 17 5.4 a ny - motion ( slope ) detection ........................................................................................ 18 5.5 t ap - sensing ..................................................................................................................... 22 5.6 o rientation recognition ................................................................................................ 24 5.7 l ow - g detection .............................................................................................................. 27 5.8 h igh - g detection ............................................................................................................. 29 5.9 d ata ready detection ..................................................................................................... 30 6. operation modes ............................................................................................................ 3 1 6.1 d edicated m odes ( c- less / stand alone )..................................................................... 33 6.2 d igital interface modes ................................................................................................. 34
data sheet BMA220 page 4 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 6.3 l ow - power mode and suspend mode ............................................................................. 35 6.4 m ode transition via interface ....................................................................................... 36 6.5 s elf test mode ................................................................................................................ 37 7. interfaces .................................................................................................................. ...... 38 7.1 g eneral digital interface description ......................................................................... 39 7.2 spi interface ................................................................................................................... 40 7.3 i2c interface .................................................................................................................... 43 7.4 i2c watchdog timer ......................................................................................................... 48 7.5 spi and i2c access restrictions .................................................................................... 48 8. pin-out and connecting diagram............................................................................. 49 8.1 p in - out ............................................................................................................................. 49 8.2 c onnecting diagrams ..................................................................................................... 50 9. package ..................................................................................................................... ........ 53 9.1 o utline dimensions ......................................................................................................... 53 9.2 s ensing axes orientation and polarity of the acceleration output ........................ 54 9.3 l anding pattern recommendation ................................................................................. 55 9.4 m arking ............................................................................................................................ 56 9.4.1 m ass production samples ..................................................................................................... 56 9.4.2 e ngineering samples ............................................................................................................. 56 9.5 m oisture sensitivity level and soldering .................................................................... 57 9.6 t ape and reel specification ........................................................................................... 58 9.7 o rientation ..................................................................................................................... 59 9.8 r o hs compliancy ............................................................................................................ 59 9.9 h alogen content ............................................................................................................ 59 9.10 n ote on internal package structure ......................................................................... 59 9.11 h andling instruction ................................................................................................... 60 10. legal disclaimer .......................................................................................................... 6 1 10.1 e ngineering samples .................................................................................................... 61 10.2 p roduct use .................................................................................................................. 61 10.3 a pplication examples and hints ................................................................................... 61 11. document history and modifications ................................................................. 62
data sheet BMA220 page 5 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 1. specification if not stated otherwise, the given values are ma ximum values over lifetime and full performance temperature and voltage ranges. min/max. data represent 3-sigma values. table 1: operating conditions, output signal and mechanical characteristics parameter symbol condition min typ max units o perating c onditions g fs2g 2.0 g g fs4g 4.0 g g fs8g 8.0 g acceleration range g fs16g switchable via serial digital interface 16.0 g supply voltage analog domain v dda 1.62 1.8 1.98 v supply voltage digital domain v ddd 1.62 1.8 1.98 v supply voltage i/o domain v ddio 1.62 3.6 v v il spi spi 0.1*v ddio v voltage input low level v il i2c i2c 0.3*v ddio v v ih spi spi 0.9*v ddio v voltage input high level v ih i2c i2c 0.7*v ddio v voltage output high level v oh spi & i2c v ddio v v ol spi spi gnd v voltage output low level v ol i2c i2c, r p 680 ? 0.2*v ddio v supply current in normal mode i dd nominal v dd supplies at t a =25c 250 ? a supply current in low power mode i ddsl nominal v dd supplies t a =25c, bw = 1khz sleep dur. > 25ms < 10 ? a supply current in suspend mode i ddsd nominal v dd supplies at t a =25c < 1 ? a wake-up time t w_up from sleep/suspend mode @1khz bw 1.2 ms
data sheet BMA220 page 6 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. start-up time t s_up por @1khz bw 1.5 ms operating temperature t a -40 +85 ? c o utput s ignal device resolution d res g fs2g 62.5 mg s 2g g fs2g , t a =25c 16 lsb/g s 4g g fs4g ,t a =25c 8 lsb/g s 8g g fs8g , t a =25c 4 lsb/g sensitivity s 16g g fs16g , t a =25c 2 lsb/g sensitivity temperature drift tcs -40c ? t a ? +85c 0.03 %/k zero-g offset off t a =25c, v dda =1.8v, g fs2g 95 mg zero-g offset temperature drift tco -40c ? t a ? +85c, g fs2g 2 mg/k bandwidth bw 1 st order filter, switchable 32/64/ 125/ 250/ 500/ 1000 hz nonlinearity nl best fit straight line 2 %fs tstx 0.7g*s x lsb tsty 2.0g*s y lsb self test response tstz depending on sensitivity/ acceleration range 0.6g*s z lsb output noise n rms rms, nominal v dd supplies t a =25c, bw = 1khz 2 mg/ ? hz m echanical c haracteristics cross axis sensitivity s relative contribution between 3 axes 2 % alignment error ? a relative to package outline 0.5
data sheet BMA220 page 7 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 2. absolute maximum ratings all voltages below are given with respect to gnd. table 2: absolute maximum ratings parameter condition min max units voltage at supply pad v ddd and v dda -0.3 2.0 v v ddio -0.3 4.25 v voltage at any logic pad non-supply pad -0.3 v ddio +0.3 v storage temperature range rel. humidity <=65% -50 +150 c duration 200 s 10,000 g duration 1.0ms 2,000 g mechanical shock free fall onto hard surfaces 1.8 m hbm, at any pin 2 kv esd cdm 500 v
data sheet BMA220 page 8 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 3. block diagram the following figure describes the functionality of the two basic parts of the sensor module, namely mechanical sensor el ement and evaluating asic. figure 1: block diagram BMA220 asic vdda int c 1x c 2x c 1 y c 2 y c 1z c 2z c m mulitplexer c/u control logic and interrupt engines i 2 c spi filte r y gain & offset filterx filte r z a dc reference trimming otp clock cap0 csb scl sck sdo sda sdi s d o ps vss vddd vddio sensor element vss mulit p lexer
data sheet BMA220 page 9 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 4. global memory map the memory map below shows all externally accessible data registers which are needed to operate BMA220.the left columns show the me mory addresses. the columns in the middle depict the content of each register bit. the colors of the bits indicate whether they are read-only, write-only or read- and writable. the memory is volatile so that the writable content has to be re- written after each power-on. the extended address space greater than 0x19 (spi) / 0x32 (i 2 c) is not shown. these registers are reserved for further bosch factory testing and trimming. register address (i2c) register address (spi) bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 default after power-up 0x32 0x19 0x00 0x30 0x18 0x00 0x2e 0x17 wdt_to_en wdt_to_sel spi3 0x00 0x2c 0x16 0x00 0x2a 0x15 0x00 0x28 0x14 0x00 0x26 0x13 0x00 0x24 0x12 0x10 0x22 0x11 sbist_sign 0x00 0x20 0x10 serial_high_bw 0x00 0x1e 0x0f unused sleep_en en_x_channel en_y_channel en_z_channel 0x07 0x1c 0x0e reset_int en_low en_high_x en_high_y en_high_z 0x00 0x1a 0x0d en_data en_orient en_slope_x en_slope_y en_slope_z en_tt_x en_tt_y en_tt_z 0x00 0x18 0x0c tt_int low_int high_int data_int slope_int 0x00 0x16 0x0b orient_int int_first_x int_first_y int_first_z int_sign 0x00 0x14 0x0a tip_en 0x08 0x12 0x09 orient_ex slope_filt 0x45 0x10 0x08 tt_filt 0xb5 0xe 0x07 0x7f 0xc 0x06 0x4e 0xa 0x05 0x7f 0x8 0x04 0 0 0x00 0x6 0x03 0 0 0x00 0x4 0x02 0 0 0x00 0x2 0x01 0x00 0x0 0x00 0xdd chip id tt_samp[1:0] slope_th[3:0] slope_dur[1:0] tt_th[3:0] tt_dur[2:0] acc_z<5:0> acc_y<5:0> acc_x<5:0> revision id low_th[3:0] high_th[3:0] high_hy[1:0] high_dur[5:0] low_hy[1:0] low_dur[5:0] orient_blocking [1:0] unused lat_int[2:0] unused orient[2:0] sbist (off,x,y,z) filt_config[3:0] unused unused range[1:0] sleep_dur[2:0] reserved reserved reserved reserved softreset suspend unused reserved figure 2: memory map note : from spi ? i2c use burst address increment in 0x02h steps. 4.1 control registers 4.1.1 3-wire spi mode selection the BMA220 supports both 4-wire and 3-wire spi. the protocols are exactly the same except for the fact that in 3-wire mode, the sdi pin is also used for data output. the default mode is 4-wire spi. if 3-wire spi should be used, the spi3 bit in register 0x17 (spi) must be set to ?1?.
data sheet BMA220 page 10 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 4.1.2 low-power mode configuration the BMA220 supports a low-power mode. in this low-power mode, the chip wakes up periodically, enables the interrupt controller and goes back to sleep if no interrupt has occurred. the procedure is the following: 1. wake-up. 2. enable analog front-end and convert acceleration data until the low-pass filters have settled. 3. enable integrated interrupt controller and evaluate interrupt conditions. once the interrupt conditions have been evaluated and no interrupt has occurred, the chip goes back to sleep. if no interrupt is enabled, the acceleration for x-, y- and z-axes are converted once and then the chip goes back to sleep. 4. sleep for the programmed duration. figure 3: sleep and awake phases the low-power mode can be enabled by setting the sleep_en bit in reg. 0x0f (spi) / 0x1e (i 2 c) and by enabling the data ready interrupt (or any other interrupt, see chapter 5). the sleep duration can be configured via the sleep_dur bits in reg 0x0f (spi) / 0x1e (i 2 c). table 3: sleep durations for low-power mode sleep_dur setting sleep duration 000 2ms 001 10ms 010 25ms 011 50ms 100 100ms 101 500ms 110 1s 111 2s
data sheet BMA220 page 11 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 4.1.3 low-power mode dimensioning the power saving that can be achieved depends on the programmed sleep duration and the configured bandwidth. figure 4 explains the power consumption in relation to the different asic states (sleep and awake phases). figure 4: sleep and awake phase if a low bandwidth is selected, the time required for filter settling might be the dominating time. refer to table 2 for the appropriate dimensioning of the attainable current saving. table 4: approximate awake phase times for 1 data sample filter cut-off settling time 32 hz 16690s 64 hz 8690s 125 hz 4690s 250 hz 2690s 500 hz 1690s 1000 hz 1190s 4.1.4 channel activation / de-activation in order to optimize further power consumption of the BMA220, data evaluation of individual axes can be deactivated. per default, all three axes are active. if the user wants to disable one or more axes, the appropriate en_?_channel bits at address 0x0f (spi) / 0x1e (i 2 c) must be set to ?0?.
data sheet BMA220 page 12 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 4.1.5 soft-reset the BMA220 can be put into a soft-reset state by performing a read from the soft-reset address. to bring the chip back into operation, another read must be performed from the same memory address. the reading returns value 0xff if the system was in soft reset mode; otherwise it returns value 0x00. please note that all internal configuration data programmed by the user will be lost. 4.1.6 suspend mode the BMA220 can be put into a suspend mode e. g. to easily achieve a power consumption below 1 a by performing a read from the suspend address. to bring the chip back into normal mode operation, another read must be performed from the same memory address. the reading returns value 0xff if the system was in suspend mode, otherwise it returns value 0x00. please note, that during suspend, all analog modules expect for power-on-reset will be disabled. only reads through the serial interface are supported during suspend. 4.2 setting registers 4.2.1 acceleration range and sensitivity setting the BMA220 has four different range settings for the full scale acceleration range. in dependence of the use case always the lowest full scale range with the maximum resolution should be selected. please refer to literature to find out, which full scale acceleration range, which sensitivity or which resolution is the ideal one. this can be configured via the register bits range [1:0] at address 0x11 (spi) / 0x22 (spi). the following table shows the range bits with corresponding scale and resolution. table 5: acceleration resolution range[1:0] full scale sensitivity resolution example use case ?00? 2g 16 lsb / g 62.5mg / lsb orientation recognition ?01? 4g 8 lsb / g 125mg / lsb ?10? 8g 4 lsb / g 0.25g / lsb gaming ?11? 16g 2 lsb / g 0.5g / lsb shock vibration detection
data sheet BMA220 page 13 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 4.2.2 filter and bandwidth configuration the BMA220 has a digital filter that can be configured by setting the corresponding register bits filter_config[3:0] at address 0x10 (spi) / 0x20 (i 2 c). for compatibility reasons the settings are defined based on bma120. to always ensure an ideal cut off frequency of the filter the BMA220 is adjusting the sample rate automatically. table 6: digital filter configuration filter_config[3:0] 0x5 0x4 0x3 0x2 0x1 0x0 digital filter cut-off frequency 32hz 64hz 125hz 250hz 500hz 1khz the internal sc-filter has a fix cut-off frequency at 1 khz. in addition to the internal sc-filter a digital filter is available which is providing a filtered and an unfiltered data stream for all of the 3 axes of acceleration. if application specific reasons require a bandwidth configuration <32hz, please contact your bosch sensortec representative.
data sheet BMA220 page 14 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 4.3 data registers 4.3.1 acceleration data read-out the acceleration data can be read-out through addresses 0x02 (spi) / 0x04 (i 2 c) through 0x04 (spi) / 0x08 (i 2 c). the acceleration data is in 2?s complement according to the table below. an efficient way to read out the acceleration data in i2c or spi mode is the burst-accesses. during such an access, the BMA220 automatically increments the read address after each byte. by using this kind of access, the data transferred over the i2c bus can be reduced by up to 50%. table 7: acceleration register content decimal value acceleration (in 2g range mode) + 31 + 1.94g ? ? 0 0g ? ? -32 - 2.0g per default, the bandwidth of the data being read-out is limited by the internal low-pass filters according to the filter configuration. however, it is possible to read-out data only 1 st order filtered (1 khz) even though the internal filters are configured differently. the reason for this feature is that the interrupt controller may operate on low-bandwidth data while the external master still needs to operate on high-bandwidth data. unfiltered (1khz high-bandwidth) data can be read-out through the serial interface when the serial_high_bw bit is set to ?1?. per default, filtered data is read-out through the serial interface. 4.3.2 chip / revision id the chip id and the revision id can be read-out through addresses 0x00 (spi & i 2 c) and 0x01 (spi) / 0x02 (i 2 c). table 8: chip and revision id chip id revision id 0xdd 0x00
data sheet BMA220 page 15 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 4.4 interrupt control registers the BMA220 features a programmable interrupt controller that directly supports common mobile applications like tap sensing detection, or ientation recognition and any-motion detection. supported types of interrupts: ? any-motion (slope) detection ? tap/double-tap sensing ? orientation recognition ? low-g detection ? high-g detection ? data-ready interrupt the configuration and status register bits of all interrupt engines and the exact interrupt functionality are given in chapter 5.
data sheet BMA220 page 16 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 5. interrupt controllers the BMA220 integrates a programmable interrupt controller. it can be configured via spi/i 2 c to monitor individual axes (x-, y- and z-axis) and c heck whether certain conditions apply (e.g. the acceleration on one axis exceeds a certain threshol d). the interrupt controller of the BMA220 is capable of checking for certain conditions simultaneously. if at least one of the configured conditions applies, an interrupt (logic ?1?) is issued through the int pin of the sensor. more details about the triggering condition (e.g. the type of the interrupt or the axis that triggered the interrupt) are saved in internal status registers and can be read out through the digital interface. it is recommended to reset the interrupt controller by setting reset_int to '1' when the interrupt settings has been set or changed. 5.1 latched vs. non- latched modes the interrupt controller can be used in two modes ? latched mode: once one of the configured interrupt conditions applies, the int pin is asserted and must be reset by the external master through the digital interface. ? non-latched mode: the interrupt controller clears the int signal once the interrupt condition no longer applies. the interrupt output can be programmed by lat_int[2:0] to be either unlatched (?000?) or latched permanently (?111?) or have the latch time of 0.25s(?001?)/0.5s(?010?)/1s(?011?)/2s(?100?)/4s (?101?)/8s(?110?). the setting of these bits applies to all types of interrupts. figure 5: interrupt output interrupt int from interrupt enigne interrupt output unlatched latched for certain time latched permanently latch time
data sheet BMA220 page 17 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 5.2 supported types of interrupts the following interrupt modes are provided by the BMA220. ? any-motion (slope) detection ? tap/double-tap sensing ? orientation recognition ? low-g detection ? high-g detection ? data-ready interrupt 5.3 power-saving modes in order to reduce power consumption of the sensor itself, the BMA220 supports a low-power mode in which the asic wakes up periodically, checks whether any of the configured interrupt conditions apply and then either goes back to sleep (no interrupt) or stays awake (interrupt). the BMA220?s pmu (power management unit) controls the transitions from the ?awake state? into the ?sleep state? and vice versa. in normal mode, the interrupt controller is permanently turned on to continuously process the incoming data. in low-power mode, the interrupt controller will be turned on by the pmu once the chip has fully woken up. the time it takes before the sensor can go back to sleep is determined by the active interrupt engines. once all active engines indicate that no interrupt condition applies, the pmu will switch the sensor back into sleep state. furthermore the applied interrupt condition can be used not only to enable the low-power mode of the sensor itself but for the whole system. this enables a dramatically reduced power consumption of the whole system. the result is an extended operation and stand-by time e.g. of mobile devices in an order of magnitude.
data sheet BMA220 page 18 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 5.4 any-motion (slope) detection the any-motion detection uses the slope between two successive acceleration signals to detect changes in motion. it generates an interrupt when a preset threshold slope_th is exceeded. the threshold can be configured between 0 and the maximum acceleration value corresponding to the selected measurement range. the time difference between the successive acceleration signals depends on the bandwidth of the configurable low pass filter and corresponds roughly to 1/(2*bandwidth) ( t=1/(2*bw)). in order to suppress failure signals, the interrupt is only generated if a certain number slope_dur of consecutive slope data points is above the slope threshold slope_th . if the same number of data points falls below the threshold, the interrupt is reset. the criteria for any-motion detection are fulfilled and the slope interrupt is generated if any of the enabled channels exceeds the threshold slope_th for slope_dur consecutive times. as soon as all the enabled channels fall or stay below this threshold for slope_dur consecutive times the interrupt is reset unless interrupt signal is latched. the any-motion interrupt logic sends out the signals of the axis that has triggered the interrupt ( slope_first_x , slope_first_y , slope_first_z ) and the signal of motion direction ( slope_sign ). when serial interface is active, any-motion detection logic is enabled if any of the any-motion enable register bits is set. to disable the any-motion interrupt, clear all the axis enable bits. in the dedicated wake-up mode ( 6.1), all three axes are enabled for any-motion detection whether the individual axis enable bits are set or not.
data sheet BMA220 page 19 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. figure 6: any-motion (slope) interrupt detection the following table shows the signals used in any-m otion detection. after reset, a default value will be assigned to each register. slope_th int slope acceleration acc(t 0 ) acc(t 0 ? 1/(2*bw) slope(t 0 )=acc(t 0 ) ? acc(t 0 ? 1/(2*bw)) time time time slope_dur slope_du r
data sheet BMA220 page 20 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. table 9: control and status register for any motion detection name register address (spi) * description number of bits reset-value en_slope_x en_slope_y en_slope_z 0x0d.5 0x0d.4 0x0d.3 enable slope detection on x-axis enable slope detection on y-axis enable slope detection on z-axis 3 ?000? slope_th 0x09[5:2] define the threshold level of the slope 1 lsb threshold is 1 lsb of acc_data slope_t h_num 4 slope_th_i nit (?0001?) slope_dur 0x09[1:0] define the number of consecutive slope data points above slope_th which are required to set the interrupt (?00? = 1,?01? = 2,?10? = 3, ?11? = 4) slope_d ur_num 2 slope_dur _init (?01?) slope_filt 0x09.6 defines whether filtered or unfiltered acceleration data should be used (evaluated) (?0?=unfiltered, ?1?=filtered) 1 ?1? slope_int 0x0c.0 whether slope interrupt has been triggered 1 ?0? slope_first_x slope_first_y slope_first_z whether x-axis has triggered the interrupt (0=no, 1=yes) whether y-axis has triggered the interrupt (0=no, 1=yes) whether z-axis has triggered the interrupt (0=no, 1=yes) 3 ?000? slope_sign global register bit for all interrupts define the slope sign of the triggering signal (0=positive slope, 1=negative slope) 1 ?0? * for determining the corresponding i 2 c register address, please refer to figure 2 in chapter 4 (memory map)
data sheet BMA220 page 21 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. figure 7: tap sensing interrupt detection when a tap-sensing interrupt is triggered, the following details can be read from the corresponding registers: the axis that has triggered the interrupt ( tt_first_x , tt_first_y , tt_first_z ) and the motion direction of the triggering acceleration signal ( tt_sign ). ta p shock=50ms tt_th single tap detection ( slo p e time 1st tap ta pq uiet = 30ms tt _ dur = 12.5 500 ms 2nd tap ta p shock=50ms ta pq uiet = 30ms time double tap detection timee
data sheet BMA220 page 22 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 5.5 tap-sensing tap sensing has the same functionality as a common laptop touch-pad. if 2 taps occur within a short time, a pre-defined action will be performed by the system. if time between 2 taps is too long or too short no action happens. when the serial interface is activated, tap sens ing is enabled if any of the tap sensing enable register bits are set ( en_tt_x, en_tt_y, en_tt_z ). to disable the tap sensing interrupt, clear all the axis enable bits. when the preset threshold tt_th is exceeded, a tap-shock is detected. the tap sensing interrupt is generated only when a second tap is detected within a specified period of time. the slope between two successive acceleration data has to exceed tt_th to detect a tap-shock. the time difference between the two successive acceleration values depends on the bandwidth of the low pass filter. it roughly corresponds to 1/(2*bandwidth). the time delay tt_dur between two taps is typically between 12,5ms and 500ms. the threshold is typically between 0.7g and 1.5g in 2g measurement range. due to different coupling between sensor and device shell (housing) and different measurement ranges of the sensor these parameters are configurable. the criteria for tap sensing are fulfilled and the interrupt is generated if the second tap occurs after tap_quiet and within tt_dur . the tap sensing direction is determined by the 1 st tap. during tt_quiet period (30ms) no taps should occur. if a tap occurs during tap_quiet period it will be connoted as new tap. the slope detection interrupt logic stores the direction of the (first) tap-shock in a status register. this register will be locked for tap_shock= 50ms in order to prevent other slopes to overwrite this information. when a tap sensing interrupt is triggered, the signals of the axis that has triggered the interrupt ( tt_first_x , tt_first_y , tt_first_z ) and the signal of motion direction ( tt_sign ) are stored in the corresponding registers. the axis on which the biggest slope occurs will trigger the first tap. the second tap will be triggered by any axis (not necessarily same as the first tap). the register tap_en defines whether single tap or double tap shall be detected. in dedicated tap sensing mode, all three axes are enabled for double tap sensing detection.
data sheet BMA220 page 23 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. table 10: control and status register for tap sensing name register address (spi) * description number of bits reset-value en_tt_x en_tt_y en_tt_z 0x0d.2 0x0d.1 0x0d.0 enable tap sensing detection on x-axis enable tap sensing detection on y-axis enable tap sensing detection on z-axis 3 ?000? tt_th 0x08[6:3] define the threshold level of the tap sensing slope 1 lsb is 2*(lsb of acc_data) tt_th_num 4 tt_th_init ?0110? tt_dur 0x08[2:0] define the maximum delay of the second tap after the shock suppression (50, 105, 150, 219, 250, 375, 500, 700)ms tt_dur_nu m 3 tt_dur_init ?101? tt_filt 0x08.7 defines whether filtered or unfiltered acceleration data should be used (evaluated) (?0?=unfiltered, ?1?=filtered) 1 ?1? tip_en 0x0a.4 whether tap or double-tap shall be detected (0= double tap, 1=tap) 1 ?0? tt_int 0x0c.4 whether tap sensing interrupt has been triggered (0=no, 1=yes) 1 ?0? tt_samp 0x0a[1:0] number of data to be sampled after wake-up ?00? => 2 data ?01? => 4 data ?10? => 8 data ?11? => 16 data 2 ?00? tt_first_x tt_first_y tt_first_z whether x-axis has triggered the interrupt (0=no, 1=yes) whether y-axis has triggered the interrupt (0=no, 1=yes) whether z-axis has triggered the interrupt (0=no, 1=yes) 3 ?000? tt_sign give the slope sign of the triggering signal (0=positive, 1=negative) 1 ?0? * for determining the corresponding i 2 c register address, please refer to figure 2 in chapter 4 (memory map)
data sheet BMA220 page 24 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 5.6 orientation recognition the orientation recognition feature informs on an orientation change of the sensor with respect to the gravitational field vector g. the measured acceleration vector components with respect to the gravitational field look as follows. g x z y ? ? [with respect to graviational field vector g (black dot = pin 1 identifier)] figure 8: definition of acceleration-vector components acc_x = 1g sin ? cos ? acc_y = ? 1g sin ? sin ? acc_z = 1g cos ? acc_y/acc_x = ? tan ? the output register is called orient and defined in the following way: ? 0xx ? upward looking (z>0): ? 000 ? portrait upright (315< ? <45) |acc_y/acc_x|<1 && acc_x>0 ? 001 ? portrait upside down (135< ? <225) |acc_y/acc_x|<1 && acc_x<0 ? 010 ? landscape left (45< ? <135) |acc_y/acc_x|>1 && acc_y<0 ? 011 ? landscape right (225< ? <315) |acc_y/acc_x|>1 && acc_y>0 ? 1xx ? downward looking (z<0), xx as before
data sheet BMA220 page 25 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. figure 9: orientation definition and interrupt thresholds with respect to the angle phi ? the criteria for portrait/landscape switching is fulfilled and the interrupt is generated when the threshold |acc_y/acc_x|=1 is crossed (i.e. 45, 135 , 225, 315). as soon as the interrupt is set, no new interrupt is generated within the hysteresis level of 0.66<|acc_y/acc_x|<1.66 corresponding to a hysteresis interval of ? 13% around the threshold. it is possible to block the orientation detection depending on certain conditions (no orientation interrupt will be triggered). this orientation interrupt blocking feature is configurable via the orient_blocking [1:0] bits in the following manner: ? ?00? ? interrupt blocking is completely disabled. ? ?01? ? no interrupt is generated, when |z|>0.9g or |x|+|y| < 0.4g or when the slopes of the acceleration data exceeds 0.2g (sample-to-sample). ? ?10? ? no interrupt is generated, when |z|>0.9g or |x|+|y| < 0.4g or while the slopes of the acceleration data exceeds 0.3g (sample-to-sample). ? ?11? ? no interrupt is generated, when |z|>0.9g or |x|+|y| < 0.4g or while the slopes of the acceleration data exceeds 0.4g (sample-to-sample). for all states where interrupt blocking through slope detection is used, the interrupt should be re-enabled after the slope has been below the threshold for 3 times in a row. for all states where interrupt blocking is enabled, in order to trigger the interrupt, the orientation should remain the same (stable) until the timer runs out (for ~100ms). the timer starts to count when orientation changes between two consecutiv e samples. if the orientation changes while timer is still counting, the timer is restarted. the criteria for switching from upward to downward looking fulfilled and the interrupt is generated when the threshold z=0g is crossed. as soon as the interrupt is set, no new interrupt is generated within the hysteresis level of -0.4g data sheet BMA220 page 26 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. the given specification is valid for an upright mounted pcb. in order to enable also horizontal mounting, x and z axis can be exchanged via the register orient_ex . the x-, y-, z-axis will keep right-hand principle after the exchange. when serial interface is active, orientation detection is enabled if the enable bit en_orient is set. to disable the orientation interrupt, clear the enable bit. when the dedicated orientation mode is active, the orientation is given by certain output pins corresponding to the above-given definition of the orient register. for details on the output pins see section 6.1. in case the orientation interrupt condition has been satisfied and interrupt is not latched, int signal is asserted for one data sampling period unless no-reset condition applies. table 11: control and status register for orientation recognition name register address (spi) * description number of bits reset- value orient_ex 0x09.7 exchange x- and z-axis in algorithm, i.e x or z is relevant axis for upward/downward looking recognition (0=z, 1=x) 1 ?0? orient 0x0b[6:4] give the orientation of the sensor with respect to the gravitational force 3 orient _init ?000? orient_int 0x0b.7 whether orientation interrupt has been triggered (0=no, 1=yes) 1 ?0? en_orient 0x0d.6 enable signal for orientation detection 1 ?0? orient_blocking 0x0a enable/configure orientation interrupt disable criteria. ?00? -> no slope, no wait ?01? -> no slope, wait-only (~100ms) ?10? -> wait 100ms + |z|-criteria, |x|+|y|-criteria and <0.2g slope ?11? -> wait 100ms + |z|-criteria, |x|+|y|-criteria and <0.4g slope 2 ?10? * for determining the corresponding i 2 c register address, please refer to figure 2 in chapter 4 (memory map)
data sheet BMA220 page 27 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 5.7 low-g detection for freefall detection, the absolute values of the acceleration data of all axes are observed (global criteria). a low-g situation is likely to occur when all axes fall below a lower threshold low_th . the interrupt will be generated if the measured acceleration falls below the threshold and stays below the hysteresis level low_th+low_hy for a minimum number of data points ( low_dur ). thus, the duration of a released interrupt is depending on the data sampling rate which is related to the bandwidth. figure 10: low-g interrupt detection acceleration low_dur counter value time time time low_th int (not latched) low_th + low_hy not latched latched
data sheet BMA220 page 28 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. table 12: control and status register for low-g detection name register address (spi) * description number of bits reset-value low_th 0x06[7:4] define the low-g threshold level 1 lsb is 2*(lsb of acc_data) low_th_num 4 low_th_init ?0100? low_hy 0x07[7:6] define the low-g hysteresis level 1 lsb is 2*(lsb of acc_data) low_hy_num 2 low_hy_ini t ?01? low_dur 0x07[5:0] define the number of measured data which has to be lower than low_th + low_hy to set the interrupt (max. 64) low_dur_num 6 low_dur_in it ?111111? (3f) en_low 0x0e.3 enable signal for low-g detection 1 ?0? low_int 0x0c.3 whether low-g interrupt has been triggered (0=no, 1=yes) 1 ?0? * for determining the corresponding i 2 c register address, please refer to figure 2 in chapter 4 (memory map)
data sheet BMA220 page 29 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 5.8 high-g detection for indicating high-g events, an upper threshold can be programmed. the threshold high_th , the hysteresis high_hy and the duration high_dur are defined analogously to the low-g interrupt. the interrupt is generated if one of the three channels exceeds the threshold hight_th and does not fall below hysteresis level high_th - high_hy for minimum number of data points ( high_dur ). when the high-g interrupt is triggered, the signals of the axis that has triggered the interrupt ( high_first_x , high_first_y , high_first_z ) and the signal of motion direction ( high_sign ) will be stored in the corresponding status registers. table 13: control and status register for high-g detection name register address (spi) * description number of bits reset-value high_th 0x06[3:0] define the high-g threshold level 1 lsb is 2*(lsb of acc_data) high_th_nu m 4 high_th_ini t ?1110? high_hy 0x05[7:6] define the high-g hysteresis level 1 lsb is 2*(lsb of acc_data) high_hy_nu m 2 high_hy_ini t ?01? high_dur 0x05[5:0] define the number of measured signals which has to be higher than high_th + high_hy to set the interrupt (max. 64) high_dur_n um 6 high_dur_i nit ?011111? (3f) en_high_x en_high_y en_high_z 0x0e.2 0x0e.1 0x0e.0 enable high-g detection on x- axis (0=disabled, 1=enabled) enable high-g detection on x- axis (0=disabled, 1=enabled) enable high-g detection on x- axis (0=disabled, 1=enabled) 3 ?000? high_int 0x0c.2 whether high-g interrupt has been triggered (0=no, 1=yes) 1 ?0? high_first_x high_first_y high_first_z whether x-axis has triggered the interrupt (0=no, 1=yes) whether y-axis has triggered the interrupt (0=no, 1=yes) whether z-axis has triggered the interrupt (0=no, 1=yes) 3 ?000? high_sign give the slope sign of the triggering signal (0=positive, 1=negative) 1 ?0? * for determining the corresponding i 2 c register address, please refer to figure 2 in chapter 4 (memory map)
data sheet BMA220 page 30 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 5.9 data ready detection this interrupt provides the possibility of synchronously reading out data from the BMA220 without missing a single data point. the data update detection monitors the data_update signals for all axes. it generates an interrupt as soon as the acceleration values for all enabled axes have been updated. the signal en_x_channel , en_y_channel and en_z_channel are the enable signals for the data conversion from each axis accordingly. the three enable signals can be configured by users (see section 4.1.4). for example, if all three axes are enabled, the interrupt is generated after updated signals for x-, y-, and z-axes have been detected. when data ready detection is activated, all other interrupts are not propagated to the int pin. however their status can still be obtained from the appropriate registers. when the data-ready interrupt is not latched, the interrupt is cleared automatically after ~150 s. table 14: control and status register for low name description number of bits reset-value en_data enable signal for data-ready detection 1 ?0? data_int whether data-ready interrupt has been triggered (0=no, 1=yes) 1 ?0?
data sheet BMA220 page 31 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 6. operation modes depending on the configuration the BMA220 is able to operate in two different types of modes ? general mode: a serial interface is active (spi or i 2 c). several interrupt engines may be activated in parallel. through the serial interface, the external master (e.g. c) can configure the interrupts of the BMA220 and read-out information about the current interrupt status. ? dedicated mode: no serial interface is present. internal default settings for all interrupt engines must be used. in these modes, only one interrupt engine can be active at a time. currently, dedicated modes exist for the orientation interrupt, the tap sensing interrupt and the any-motion interrupt. the dedicated mode allows the sensor to be operated as a stand alone device, e.g. without any c and without dealing with any acceleration data. so, in a very user friendly and convenient way taps/double-taps, orientation changes and wake-ups can be processed by a simple c-less system. a flow chart of the different modes is depicted in figure 11: general mode with i 2 c reset wake-up mode tip-tap mode orientation mode any of the dedicated mode invoked? any-motion interrupt is enabled tip-tap interrupt is enabled orientation interrupt is enabled one or more interrupts can be configured via i 2 c yes no ps = 0? general mode with spi one or more interrupts can be configured via spi yes no figure 11: interrupt modes
data sheet BMA220 page 32 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. table 15: mode selection mode ps sck int spi 0 i2c 1 dedicated orientation z 0 dedicated tap sensing z 1 0 dedicated wake- up z 1 1 please note that the ps must be connected to the appropriate supply (or left floating) at start-up (reset). the ?z-detection? circuit will be turned off when a stable value at the ps pin has been detected. thus, the dedicated modes can be only activated after reset. switching from one interface mode to another during operation may work but can not be guaranteed by the asic. the reason for this limitation is that the circuitry for z-detection consumes several a. for debugging/test purposes, turning-off the z-detection circuitry can be suppressed by setting the comp_always_on bit within the otp memory range. table 16: pin assignments for all operation modes 2 1 101251163478, 9 sdi sdo csb sck int ps cap0 v ddio v ddd v dda gnd sdi sdo csb sck int gnd nc v ddio v ddd v dda gnd sda nc csb sck int gnd nc v ddio v ddd v dda gnd sda nc i 2 c lsb_invert scl int v ddio nc v ddio v ddd v dda gnd orientation orient_0 orient_1 sleep_time gnd orient_2 nc nc v ddio v ddd v dda gnd tap sensing single_tap double_tap sleep on v ddio gnd nc nc v ddio v ddd v dda gnd wake-up wake_up_int nc sleep_time v ddio vddio nc nc v ddio v ddd v dda gnd i 2 c dedicated mode (w/o c); stand-alone pin # mode spi 4 wire spi 3 wire
data sheet BMA220 page 33 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 6.1 dedicated modes ( c-less / stand alone) after reset (por, soft-reset or reset pin) the system monitors the pin ps (protocol select). if the pin is unconnected, an internal module detects the floating state and enables one of the dedicated modes depending on the other select pins (sck, int). there are three different dedicated modes: ? orientation detection mode: only orientation interrupt detection is enabled. ? tap/double-tap detection mode: only tap sensing interrupt detection is enabled. ? wake-up detection mode: only wake-up interrupt detection is enabled. in dedicated mode, the interrupt engine uses default settings for all configuration registers. those default settings are loaded after reset and are listed in section 5. changing the default configuration of the registers is not possible while the chip is in the dedicated mode. currently, in orientation and wake-up mode, the user can select between two different sleep durations via the csb pin: table 17: sleep durations for dedicated modes dedicated mode csb sleep duration 0 100ms dedicated orientation 1 1s 0 10ms dedicated wake-up 1 500ms 0 no sleep dedicated tap- sensing 1 2ms table 18: filter bandwidths for dedicated modes dedicated mode bandwidth dedicated orientation 32hz dedicated wake-up 16hz dedicated tap-sensing 1khz
data sheet BMA220 page 34 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 6.2 digital interface modes the BMA220 supports two different digital interf aces (spi and i2c). the currently active general interface is determined by the primary input ps. the configuration of interrupt engines is fully customizable via the defined digital interface. ? spi active mode: the spi interface is enabled while ps is externally connected to gnd (logic ?0? detected). ? i 2 c active mode: the i2c interface is enabled while ps is externally connected to v ddio (logic ?1? detected).
data sheet BMA220 page 35 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 6.3 low-power mode a nd suspend mode the BMA220 is optimized for low power consumption. note: simply switching-off of the power supplies (v ddd and/or v dda ) is not a defined low-power mode. the deactivation of v ddd while v dda is active (or vice versa) is not recommended for permanent operation. with respect to the application it might be useful to switch-off v ddio while v ddd and v dda are active. this condition is supported and will lead to a reduction of current consumption. the sensor register map will be reset. to reduce current consumption in a defined way, the BMA220 supports two energy saving modes: a suspend mode and a low-power mode . during normal mode operation, all analog modules are held powered-up and the clock for all digital modules is active. during low-power mode , the analog modules in the rate channel are held powered down and the clock of the digital rate, filter and trimming modules is gated. the average typical current consumption during sleep phase (i low_power_mode ) can be estimated by the following equation: first approximation: i sleep = i suspend ? typ. awake sleep active active suspend sleep e power low t t i t i t i ? ? ? ? ? mod _ _ for sleep phase time setting (t sleep ) refer to chapter 4.1.2 table 3. for approximate awake phase time (t awake ) refer to chapter 4.1.3 table 4. for current consumption in normal mode (i active ) refer to chapter 1. for current consumption in suspend mode (i suspend ) refer to chapter 1. example: bandwidth (bw) = 1khz, nominal supplies ? resulting awake phase for 1 st data sample (t awake ) = 1190 s = 1.190ms ? resulting sleep time (t sleep ) = 50 ms ? typ. a ms ms a ms a ms t t i t i t i awake sleep active active suspend sleep e power low 8 , 6 190 , 1 50 250 190 , 1 1 50 mod _ _ ? ? ? ? ? ? ? ? ? ? ?
data sheet BMA220 page 36 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 6.4 mode transition via interface while the spi or the i2c interfaces are active , transitions between the individual modes can be triggered via register accesses. 1. low power: the BMA220 switches into low-power mode after setting the sleep_en register depicted in the memory map. while the baa220 is in low-power mode, a period wake-up is performed (please refer to section 4.1.2). normal mode operation is resumed after writing a ?0? to the sleep_en register. the sleep register is user accessible. 2. suspend: the BMA220 is put into suspend mode by reading from the suspend address. a subsequent read switches back to the prev ious state. concluding, a read from the suspend address toggles the suspend register. figure 12: energy saving mode transitions
data sheet BMA220 page 37 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 6.5 self test mode the sensor features an on-chip self-test mode. the se lf test is realized by a physical deflection of the seismic mass due to an applied electrostatic force. thus, it provides full testing of the complete signal evaluation path including the micromachined sensor structure and the evaluation asic. the self test mode can be activated individually for each axis by setting the the sbist register to the corresponding value ( ? 01 ? =x-axis, ? 10 ? =y-axis, ? 11 ? =z-axis). the self test works in all acceleration ranges. by setting the sbist_sign register to ? 1 ? , the polarity of the self test signal can be changed from positive to negative. the self test response remains as a static offset on the output as long as the sbist register is not set back to ? 00 ? . while the self test is activated, any acceleration or gravitational force applied to the sensor will be observed in the output signal as a superposition of both acceleration and self test signal. self test response output signal [lsb] sbist register 00 01 sbist_sign register 0 1 figure 13: self-test mode
data sheet BMA220 page 38 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 7. interfaces the BMA220 can connect to the host system via three interfaces: ? spi (3-wire, 4-wire) ? i2c ? dedicated mode pins (for c-less- or stand-alone operation, see section 6.1) in spi and i2c mode, the BMA220 supports two commands: read and write . the asic can be entirely controlled through those commands. a detailed register to address mapping can be found in section 4. it should be noted that there is no way to access internal control or configuration registers while the BMA220 is in one of its dedicated modes. in i2c and spi mode, the internal registers can be accessed via a 7-bit address. each read- and write-cycle accesses 8 bits only. busslave2 busslave1 busgateway spi i2c busslave0 i/o bus busadapter figure 14: BMA220 i/o bus concept the spi and i2c interfaces are connected to the internal bus gateway which activates either one of the two interfaces according to the current mode. all internal digital modules accessible via the serial interfaces are called bus slave . each slave is connected to the internal bus through a bus adapter .
data sheet BMA220 page 39 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 7.1 general digital interface description in general there are two common digital protocols selectable, the serial interfaces i2c and spi. by default, spi is used in the standard 4-wire configuration. the spi interface may be configured by sw to operate in 3-wire interface mode, instead of standard 4-wire mode. the two serial interfaces are mapped onto the same pads. an external pin is needed to switch between the interfaces. when this protocol select pin (ps) is connected to vss, spi is selected as the current interface; when the select pin is connected to v ddio , i2c is used as the interface. when select pin is left floating, one of the dedicated modes is selected. the BMA220 doesn?t provide a functional analog output of the three axes since there is just cap0 available in the package. table 19: interface pin name pin name pin description csb spi serial enable bar sck/scl spi serial clock (sck) i2c serial clock (scl) sdi/sdo/sda spi serial data input (sdi) spi serial data output in 3-wire spi mode (sdo) i2c serial data (sda) sdo spi serial data output
data sheet BMA220 page 40 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 7.2 spi interface the spi interface integrated in BMA220 is a slave spi. 16-bit protocols are used for single byte reading and writing. multiple bytes read-out is also possible. however, multiple bytes write is not supported. the BMA220 supports spi only in spi mode 3 (cpol = 1, cpha = 1). 4-wire spi and 3-wire spi are using same protocols. the communication starts with a read/write control bit followed by 7 bits address and at least 8 bits data. in case of reading out of acceleration data from all axes the chip prov ides the option to use an automatic incremented read command to read more than one byte (multiple read). this is activated when the spi serial enable pin csb is held low during the data readout. thus data from next address will be automatically read out if the csb are kept low for another 8 spi clock cycles. 4-wire spi protocol and timing 4-wire spi is the default serial interface. it interacts with the outside world using csb (chip select low active), sck (serial clock), sdi (serial data input) and sdo (serial data output). the communication starts when the csb is pulled low by the spi master and stops when csb is pulled high. sck is also controlled by spi master. during the transitions on csb, sck must be high. sdi and sdo are driven at the falling edge of sck and should be captured at the rising edge of sck. single byte write/read commands use 16-bits protocol. bit0: read/write bit. when 0, the data sdi is written into the chip. when 1, the data sdo from the chip is read. bit1-7: address ad(6:0). bit8-15: when in write mode, these are data sdi, which will be written into the address. when in read mode, these are the data sdo, which are read from the address. csb sck sdi r/w ad6 ad5 ad4 ad3 ad2 ad1 ad0 di5 di4 di3 di2 di1 di0 di7 di6 sdo tri-state z figure 15: 4-wire spi write command write command is completed in 16 clock cycles. during the entire write cycle sdo remains in high-impedance state.
data sheet BMA220 page 41 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. csb sck sdi r/w ad6 ad5 ad4 ad3 ad2 ad1 ad0 sdo do5 do4 do3 do2 do1 do0 do7 do6 tri-state figure 16: 4-wire spi read command read command is completed in 16 clock cycles or in multiple of 8 in case of multiple byte read. in multiple-read cycle further blocks of 8 clock periods will be extended for each acknowledged data. csb sck t_setup_csb_4 t_low_sck_4 t_high_sck_4 t_hold_csb_4 sdi t_setup_sdi_4 t_hold_sdi_4 sdo t_delay_sdo_4 figure 17: timing diagram of 4-wire spi cycle
data sheet BMA220 page 42 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. table 20: spi timing parameter symbol condition min units csb lead time t_setup_csb 10 csb lag time t_hold_csb 10 sdi setup time t_setup_sdi 5 sdi hold time t_hold_sdi 5 sdo delay time t_delay_sdo c load 50pf 30 (max) sck period t_sck 100 ns 3-wire spi 3-wire spi interface uses sdi pin for both data input and output. it can be invoked by setting the spi3 register bit at address 0x0f. the write command for the 3-wire spi is identical to the 4-wire spi write command. when a read command is performed, output data are redirected to sdi pin after last address bit ad0 is latched. no extra clock cycle is needed for output redirection. output data are synchronized at falling edge of sck. both input and output data shall be captured at rising edge of sck. csb sck sdi r/w ad6 ad5 ad4 ad3 ad2 ad1 ad0 sdo do2 do0 do4 do3 do1 do5 do7 do6 tri-state figure 18: 3-wire spi read protocol
data sheet BMA220 page 43 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 7.3 i2c interface the i2c interface on board is a slave bus. two signal lines scl and sda are used for communication. sda is a bidirectional line used for sending and receiving data to/from the interface. scl is the serial clock line used to synchronize the data. both lines are connected to vdd via pull-up resistors. so the lines are pulled high when the bus is free. the lines are low only when any of the transmitters drives ?0?. the on-board i2c interface supports standard and fast-mode i2c. important note: the default slave address assigned to the BMA220 is 000 1011 . when in i2c mode, the lsb can be inverted by tying the csb pin to ?1?. thi s allows resolving conflic ts with existing devices. i2c protocol start and stop conditions (see figure 18): data transmission on the bus begins with a high to low transition on sda line while sck is held high (start condition (s) indicated by i2c bus master). once the start signal is transferred by the master, the bus is considered busy. each data transfer should be terminated by a stop signal (p) generated by master. the stop condition is a low to high transiti on on sda line while sck is held high. sck sda t susta t susto t hdsta figure 19: waveform diagram for i2c start and stop conditions
data sheet BMA220 page 44 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. table 21: i2c start/stop timing parameter symbol condition min units start hold time t hdsta 0.6 start setup time t susta 0.6 stop setup time t susto 0.6 internal hold time t hold_int t f_sda = 100 ns t f_scl = 100 ns 0.3 (max) clock to data out t vd_ack t f_sda = 100 ns t f_scl = 100 ns 0.08 s acknowledge : each byte of data transferred must be acknowl edged. it is indicated by an acknowledge bit sent by the receiver. the transmitter must release the sda line (no pull down) during the acknowledge pulse while the receiver must then pull the sda line low so that it remains stable low during the high period of the acknowledge clock cycle. sda by transmitter sck start condition s sda by receiver 9 8 2 1 acknowledge not acknowledge clock pulse for acknowledgement figure 20: waveform diagram for i2c acknowledgement on sda data transfer: each data bit transferred via sda line must remain stable during high period of sck pulse.
data sheet BMA220 page 45 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. sda sck change of data allowed data line stable, data valid tsudat thddat figure 21: waveform diagram for one bit transfer with i2c interface table 22: i2c data transfer timing # parameter symbol min max units 1 data hold time t hddat 0 0.9 2 data setup time t sudat 0.1 - s the first byte of data transmitted after start condition contains the 7-bit address of i2c slave. the 8 th bit is an r/w bit which tells whether the master wants to read (r/w = 1) or write (r/w = 0) data from/to the slave. once the slave is addressed, it sends a low active acknowledge bit and accepts the following data transferred by master. otherwise it aborts the current data transfer and waits for the start condition of next data transmission.
data sheet BMA220 page 46 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. start r/w ack ack ack stop 0001011 0 0011100x 11010101 s000 slave adress register address (1ch) register data (d5h) p i2c write command i2c write command only supports one byte writing. the protocol begins with start condition generated by master, followed by 7bits slave address and a write bit (r/w = 0). the slave sends an acknowledge bit (ack = 0) and releases the bus. then master sends the one byte register address (only the first 7bits are the valid address bits, the lsb shall be ignored). the slave shall again acknowledge the transmission and wait for the 8bits data which shall be written to the specified register address. after slave acknow ledges the data byte, master generates a stop signal and terminates the writing protocol. data transferred by master data transferred by slave figure 22: i2c one byte write protocol
data sheet BMA220 page 47 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. i2c read command i2c read command supports multiple bytes reading. a read command consists of a 1-byte i2c write phase followed by i2c read phase. the two i2c transmissions must be separated by a repeated start condition (sr). the i2c write phase addresses the slave and sends the register address to be read. after slave acknowledges the transmission, master generates again a start condition and sends the slave address together with a read bit (r/w = 1). then master releases the bus and waits for the data bytes to be read out from slave. after each data byte the master has to generate an acknowledge bit (ack = 0) to enable further data transfer. a nack (ack = 1) from master stops the data transferring from slave. slave releases the bus so that master can generate a stop condition and terminate the transmission. register address is automatically incremented and more than one byte can be sequentially read out. once a new data read transmission starts, the start address will be set to the register address specified in the latest i2c write command. by default the start address is set at 0x00. in this way repetitive multi-bytes reads from the same starting address are possible. data transferred by master data transferred by slave start r/w ack ack 0001011 0 0000010x repeat start r/w a ck a ck a ck 0001011 1 xxxxxxxx xxxxxxxx ? ack ack ? xxxxxxxx xxxxxxxx ? ack ack stop ? xxxxxxxx xxxxxxxx sr 000 slave address register data - address 06h register data - address 04h data byte data byte register address (04h) s 0 0 slave address p data byte data byte register data - address 12h register data - address 14h 00 01 data byte data byte register data - address 08h register data - address 10h figure 23: i2c multiple bytes read protocol
data sheet BMA220 page 48 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 7.4 i2c watchdog timer in order to prevent the built-in i2c slave to lock-up the i2c bus, a watchdog timer (wdt) is introduced. the wdt observes internal i2c signals and resets the i2c interface if the bus is locked-up by the BMA220. the wdt observation period and wdt on/off can be configured through interface registers. figure 24: wdt settings wdt_to_en wdt_to_sel wdt function 0 x off 1 0 1 ms 1 1 10 ms 7.5 spi and i2c access restrictions the required wait time after a write-cycle depends on whether the power-saving (sleep) mode is currently active. in case the low-power mode is active, the internal clock frequency is reduced and thus the required wait time increases. table 23: required wait times after write / before read access protocol access normal mode low-power mode i 2 c / spi write >3 sec >300 sec i 2 c / spi read >2 sec >2 sec figure 25: post-write access timing constraints figure 26: pre-read access timing constraints please note that this read-constraint only applies to read-outs of the same axes. reading out the three axes in a back-to-back transfer is possible!
data sheet BMA220 page 49 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 8. pin-out and connecting diagram 8.1 pin-out figure 27 : pin-out of the BMA220 (top view) table 24: pin description pin# name type description connect to (in spi 4w) connect to (in spi 3w) connect to (in i2c) 1 sdo digital out spi serial data output sdo nc nc 2 sdx digital i/o sda for i 2 c serial data in-/output sdi for serial data input (spi 4-wire mode) sda serial data in-/output (spi 3-wire mode) sdi sda sda 3 vddio supply i i/o supply voltage (variable between 1.62 ... 3.6v) vddio vddio vddio 4 vddd supply i power supply for digital domain vddd vddd vddd 5 int digital i/o interrupt output int int int 6 cap0 dnc do not connect! pin reserved for factory trimming nc nc nc 7 vdda supply i power supply for analog domain vdda vdda vdda 8 gnd ground shared ground for digital, i/o and analog gnd gnd gnd 9 gnd ground shared ground for digital, i/o and analog gnd gnd gnd 10 csb digital in chip-select for spi mode. address-select for i 2 c mode , see cha p ter 8.3. pin must not float. csb csb csb 11 ps digital in protocol select pin (0=spi, 1=i 2 c, float = c- less); pin must not float unless dedicated mode is used, see chapter 6.1. gnd gnd vddio 12 sck digital in sck for spi serial clock scl for i 2 c serial clock sck sck scl for further details on the recommended connection for the use of the BMA220 without controller (i.e. in dedicated i/o modes) please refer to table 16 in chapter 6.
data sheet BMA220 page 50 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. vddio vddd vdda gnd gnd sdo sdi int cap0 csb ps sck gnd c=100nf c=100nf c=100nf io 1.62-3.6v digital 1.8v analog 1.8v BMA220 (top view) setup 1 i2c / spi vddio vddd vdda gnd gnd sdo sdi int cap0 csb ps sck gnd c=100nf c=100nf c=100nf io 1.62-3.6v digital 1.8v analog 1.8v BMA220 (top view) BMA220 (top view) setup 1 i2c / spi vddio vddd vdda gnd gnd sdo sdi int cap0 csb ps sck gnd c=100nf c=100nf analog + digital + io 1.8v BMA220 (top view) setup 2 i2c vddio vddd vdda gnd gnd sdo sdi int cap0 csb ps sck gnd c=100nf c=100nf analog + digital + io 1.8v BMA220 (top view) BMA220 (top view) setup 2 i2c 8.2 connecting diagrams figure 28 : BMA220 electrical connecting diagram setup option 1 figure 29 : BMA220 electrical connecting diagram setup option 2
data sheet BMA220 page 51 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. vddio vddd vdda gnd gnd sdo sdi int cap0 csb ps sck gnd c=100nf c=100nf io 1.62-3.6v analog + digital 1.8v setup 4 i2c / spi BMA220 (top view) vddio vddd vdda gnd gnd sdo sdi int cap0 csb ps sck gnd c=100nf c=100nf io 1.62-3.6v analog + digital 1.8v setup 4 i2c / spi BMA220 (top view) BMA220 (top view) vddio vddd vdda gnd gnd sdo sdi int cap0 csb ps sck gnd c=100nf c=100nf digital + io 1.8v analog 1.8v setup 3 i2c / spi BMA220 (top view) vddio vddd vdda gnd gnd sdo sdi int cap0 csb ps sck gnd c=100nf c=100nf digital + io 1.8v analog 1.8v setup 3 i2c / spi BMA220 (top view) BMA220 (top view) figure 30 : BMA220 electrical connecting diagram setup option 3 figure 31 : BMA220 electrical connecting diagram setup option 4
data sheet BMA220 page 52 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. in order to prevent noise on the supply pins v dda , v ddd and v ddio it is recommended to use low- leakage blocking capacitors with 100nf. the capacitors should be placed close to the respective pins as shown in figure 27. v ddd , v dda and v ddio can be connected according to the given diagrams, also to one common power supply within the specified range as long as the following requirement is met: ? for v dda the voltage noise level must not exceed 100mvpp for signals below 1khz and must not exceed 10mvpp for signals above 1khz. in case spi communication is used, it is recommended to apply a connection in accordance with diagrams as shown in setup 1, setup 3 or setup 4.
data sheet BMA220 page 53 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 9. package 9.1 outline dimensions the sensor housing is a standard lga package. it is compliant with jedec standard mo-229 type vggd-3. its dimensions are the following. figure 32: outline dimensions (in mm)
data sheet BMA220 page 54 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 9.2 sensing axes orientation and polari ty of the acceleration output if the sensor is accelerated in the indicated directions, the corresponding channel will deliver a positive acceleration signal (dynamic acceleration). if the sensor is at rest and the force of gravity is working along the indicated directions, the output of the corresponding channel will be negative (static acceleration). example: if the sensor is at rest or at uniform motion in a gravity field according to the figure given below, the output signals are: ? 0g for the x channel ? 0g for the y channel ? + 1g for the z channel +z +x top side +y gravity vector figure 33: orientation of sensing axes the following table lists all corresponding output signals on x, y, and z while the sensor is at rest or at uniform motion in a gravity field under assumption of a 2g range setting and a top down gravity vector as shown above. table 25: output signals depending on sensor orientation sensor orientation (gravity vector ) output signal x 0g / 0lsb 1g / 16lsb 0g / 0lsb -1g / -16lsb 0g / 0lsb 0g / 0lsb output signal y -1g / -16lsb 0g / 0lsb +1g / 1.8v 0g / 0lsb 0g / 0lsb 0g / 0lsb output signal z 0g / 0lsb 0g / 0lsb 0g / 0lsb 0g / 0lsb 1g / 16lsb -1g / -16lsb upright upright
data sheet BMA220 page 55 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 9.3 landing pattern recommendation as for the design of the landing patterns, the following recommendations can be given: figure 34: landing patterns relative to the device pins, dimensions are in mm
data sheet BMA220 page 56 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 9.4 marking 9.4.1 mass production samples labeling name symbol remark lot counter ccc product number t t = 2 sub-con id l 1 digit alphanumerical, code to identify sub-con and plant , l = a or l = u or l = p pin 1 identifier ? figure 35: marking of mass production samples 9.4.2 engineering samples labeling name symbol remark eng. sample id n engineering samples are always marked with n = ?e? date code ww calendar week lot counter cc e.g. eng. marking f1, f2 ? c1, c2 pin 1 identifier ? figure 36: marking of engineering samples ccc tl nww cc
data sheet BMA220 page 57 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 9.5 moisture sensitivity level and soldering the moisture sensitivity level of the BMA220 s ensors corresponds to jedec level 1, see also ? ipc/jedec j-std-020c "joint industr y standard: moisture/reflow sensitivity classification for non-hermetic solid state surface mount devices". ? ipc/jedec j-std-033a "joint industry standard: handling, packing, shipping and use of moisture/reflow sensitive surface mount devices". the sensor fulfils the lead-free soldering r equirements of the above-mentioned ipc/jedec standard, i.e. reflow soldering with a peak temperature up to 260c. figure 37: moisture sensitivity level and soldering
data sheet BMA220 page 58 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 9.6 tape and reel specification the BMA220 is shipped in a standard cardboard box. the box dimension for 1 reel is: l x w x h = 35cm x 35cm x 6cm BMA220 quantity: 10,000pcs per reel, please handle with care. figure 38: reel dimensions in mm
data sheet BMA220 page 59 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 9.7 orientation ? processing direction ? figure 39: BMA220 devices relative to tape 9.8 rohs compliancy the BMA220 sensor meets the requirements of the ec restriction of hazardous substances (rohs) directive, see also: directive 2002/95/ec of the european parliament and of the council of 27 january 2003 on the restriction of the use of certain hazar dous substances in el ectrical and electronic equipment. 9.9 halogen content results of chemical analysis indicate that the BMA220 contains less than 900ppm (by weight) of fluorine, chlorine, iodine and bromine (i.e. < 50ppm per each substance). therefore the BMA220 can be regarded as halogen-free. for mo re details on the analysis results please contact your bosch sensortec representative. 9.10 note on internal package structure within the scope of bosch sensortec?s ambition to improve its products and secure the product supply while mass production, bosch sensortec qualifies additional sources for the lga package of the BMA220. while bosch sensortec took care that all of the technical packages parameters are described above are 100% identical for both sources, there can be differences in the chemical content and the internal structural between the different package sources. however, as secured by the extensive product qualification process of bosch sensortec, this has no impact to the usage or to the quality of the BMA220 product.
data sheet BMA220 page 60 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 9.11 handling instruction micromechanical sensors are designed to sense acceleration with high accuracy even at low amplitudes and contain highly sensitive structures inside the sensor element. the mems sensor can tolerate mechanical shocks up to several thousand g's. however, these limits might be exceeded in conditions with extreme shock loads such as e.g. hammer blow on or next to the sensor, dropping of the sensor onto hard surfaces etc. we recommend to avoid g-forces beyond the specified limits during transport, handling and mounting of the sensors in a defined and qualified installation process. this device has built-in protections against high el ectrostatic discharges or electric fields (2kv hbm); however, anti-static precautions should be taken as for any other cmos component. unless otherwise specified, proper operation can only occur when all terminal voltages are kept within the supply voltage range. unused inputs must always be tied to a defined logic voltage level.
data sheet BMA220 page 61 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 10. legal disclaimer 10.1 engineering samples engineering samples are marked with an asterisk (*) or (e) or (e). samples may vary from the valid technical specifications of the product series contained in this data sheet. they are therefore not intended or fit for resale to third parties or for use in end products. their sole purpose is internal client testing. the testing of an engineering sample may in no way replace the testing of a product series. bosch sensortec assumes no liability for the use of engineering samples. the purchaser shall indemnify bosch sensor tec from all claims arising from the use of engineering samples. 10.2 product use bosch sensortec products are developed for t he consumer goods industry. they may only be used within the parameters of this product data sheet. they are not fit for use in life-sustaining or security sensitive systems. security sensit ive systems are those for which a malfunction is expected to lead to bodily harm or significant property damage. in addition, they are not fit for use in products which interact with motor vehicle systems. the resale and/or use of products are at the purchaser?s own risk and his own responsibility. the examination of fitness for the intended use is the sole responsibility of the purchaser. the purchaser shall indemnify bosch sensortec fr om all third party claims arising from any product use not covered by the parameters of this product data sheet or not approved by bosch sensortec and reimburse bosch sensortec for all costs in connection with such claims. the purchaser must monitor the market for the purchased products, particularly with regard to product safety, and inform bosch sensortec without delay of all security relevant incidents. 10.3 application examp les and hints with respect to any examples or hints given herein, any typical values stated herein and/or any information regarding the application of the device, bosch sensortec hereby disclaims any and all warranties and liabilities of any kind, including without limitation warranties of non- infringement of intellectual property rights or copyrights of any third party. the information given in this document shall in no event be regarded as a guarantee of conditions or characteristics. they are provided for illustrative purposes only and no evaluation regarding infringement of intellectual property rights or copyrights or regarding functionality, performance or error has been made.
data sheet BMA220 page 62 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 11. document history and modifications rev. no chapter description of modification/changes date 0.9 all document creation 2008-12-01 0.91 all total document update 2009-08-20 0.92 1 introduced resolution in table 1 2009-10-20 2 updated and extended table 2 9.1 changed ?vss? to ?gnd? 9.2 changes recommended capacitor for v dda to 100nf 9.2 added recommendation, modified fig. 28 10.6 updated quantity per reel 0.93 1 introduced resolution, current + timings in table 1 2009-12-21 2 updated and extended table 2 4 updated global memory map incl. note 4.1.5 updated soft-reset description 4.1.6 updated suspend description 5.5 updated table 10 6 new table 16 6.3. introduced current consumption estimation in low power mode 7 removed ex 8.3 new 7.3 updated i 2 c in fig. 23 ex 8.5 new 7.5 new table ex 9.1 new 8.1 changed ?vss? to ?gnd?, introduced ?not float? indication new table 25 ex 9.2 new 8.2 changes recommended capacitor for v dda to 100nf ex 9.2 new 8.2 added recommendation, modified fig. 27 ex 10.6 new 9.6 updated quantity per reel + figures ex 10.8 new 9.8 added < 50ppm each substances 1.00 1 clarified names of operation names, introduced voltage input and output levels updated tco, tcs, current, noise, temperature range, non- linearity, cross axis sensitivity and self test response in table 1 2010-04-14 4 introduced default content in global memory map 4.1.2 update chapter name / wordings 4.1.3 update chapter name / wordings 6.3 update chapter name / wordings 7.2 update of tables 20 and 21 all changed naming from ?sleep mode? to ?low- power mode? 1.01 title changed technical reference codes 2010-05-28 1 updated zero-g offset values 9.4.1 updated product number 1.05 4.1.2, 4.1.3 updates 2010-11-17
data sheet BMA220 page 63 bst-BMA220-ds003-08 | revision 1.15 | august 2011 bosch sensortec ? bosch sensortec gmbh reserves all rights even in the event of industrial property rights. we reserve all rights of disposal s uch as copying and passing on to third parties. bosch and the symbol are registered trademarks of robert bosch gmbh, germany. note: specifications within this document are subject to change without notice. 6.1, 7.2 active ?1? level = v ddio 1.10 4.3.1 update table 7 2011-04-13 7.3 update figures 22 and 23 1.15 7.2 comment on spi mode 3 2011-08-23 7.3 updated bosch sensortec gmbh gerhard-kindler-strasse 8 72770 reutlingen / germany contact@bosch-sensortec.com www.bosch-sensortec.com modifications reserved | printed in germany specifications subject to change without notice document number: bst-BMA220-ds003-08 revision_1.15_082011


▲Up To Search▲   

 
Price & Availability of BMA220

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X